<style>
    .ss-indiv-chart {
        margin-bottom: 7.2em;
        margin-left: 7.5%;
        width: 85%;
    }
    .ss-indiv-chart table {
    }
	.ss-indiv-chart tr{
        padding:30px auto;
    }
    .ss-indiv-chart table td {
        width: 50px;
		font-size:12px;
		color:gray;
    }
	.answer_des{
		color:gray;
		margin:5px 10px;
	}
	#total_ana{
		margin-bottom: 7.2em;
        margin-left: 7.5%;
        width: 85%;
	}
	.dataAnaly{
		width:400px;
	}
	.dataAnaly th{
		
	}
	.dataAnaly td{
		text-align:left;
	}
    
</style>
    <div id="title-desc">
        <font size="8">
            [$result.info.NumResponses]
        </font>
		<font color='red'>条反馈信息</font>
        <hr>
    </div>
    <div id="widget-container">
        <foreach name="result.info.Entries" var="item" key="key">
            <table class="ss-indiv-chart">
                <tbody>
                    <tr>
                        <td colspan="2">
                            <div>
                                <h3>[$item.Question]<a href="/admin/admin_analizy/getreply?key=[$result.info.Key]&entryid=[$item.EntryId]&type=[$item.EntryType]" target='_blank'>Excel导出</a></h3>
                            </div>
                        </td>
                    </tr>
                    <!--if start-->
                    <if $item.EntryType==3||$item.EntryType==5>
                        <tr>
                            <td>
                                <div>
                                    <img height="150" width="400" src="http://chart.apis.google.com/chart?chs=400x150&chd=t:[@join(',',$item.Value)]&cht=p3&chl=[@join('|',$item.Label)]" class="goog-serverchart-image">
                                </div>
                            </td>
						</tr>
						<tr>
                            <td>
                                <table class="dataAnaly">
                                	<thead>
                                		<tr>
                                			<th>题目</th>
											<th>点击量</th>
											<th>百分比</th>
                                		</tr>
                                	</thead>
                                    <tbody>
                                        <foreach name="item.Label" var="item_l" key="key_l">
                                            <tr>
                                                <td>
                                                    [$item_l]
                                                </td>
                                                <td>
                                                    [@get_array_value($item.Value,$key_l)]
                                                </td>
                                                <td>
                                                    [@getPeicent(@get_array_value($item.Value,$key_l),$item.allValue)]%
                                                </td>
                                            </tr>
                                        </foreach>
                                    </tbody>
                                </table>
                            </td>
                        </tr>
                        <elseif $item.EntryType==1||$item.EntryType==2 >
                            <tr>
                                <td class="ss-chart-table-container">
                                    <foreach name="item.Text" var="item_t" key="key_t">
                                        <span  class="answer_des">
                                            [@mb_substr($item_t,0,30,'utf-8')]
                                        </span>
                                    </foreach>
									<a href="/admin/admin_analizy/getreply?key=[$result.info.Key]&entryid=[$item.EntryId]" target='_blank'>获取更多反馈</a>
                                </td>
                            </tr>
                            <elseif $item.EntryType==4>
                                <tr>
                                    <td>
                                        <div>
                                            <img height="200" width="400" src="http://chart.apis.google.com/chart?cht=bhs&chs=400x200&chbh=[@getChbh(80,$item.Value)],10&chco=e88585|d62121|d00000|e26363|dc4242&chxt=x,y&chxl=0:[@getDataList($item.Value)]1:|[@rJoin('|',$item.Label)]&chds=0,[@max_($item.Value)]&chd=t:[@join(',',$item.Value)]">
                                        </div>
                                    </td>
								</tr>
								<tr>
                                    <td>
                                        <table class="dataAnaly">
                                        	<thead>
		                                		<tr>
		                                			<th>题目</th>
													<th>点击量</th>
													<th>百分比</th>
		                                		</tr>
		                                	</thead>
                                            <tbody>
                                                <foreach name="item.Label" var="item_l" key="key_l">
                                                    <tr>
                                                        <td>
                                                            [$item_l]
                                                        </td>
                                                        <td>
                                                            [@get_array_value($item.Value,$key_l)]
                                                        </td>
                                                        <td>
                                                            [@getPeicent(@get_array_value($item.Value,$key_l),$item.allValue)]%
                                                        </td>
                                                    </tr>
                                                </foreach>
                                            </tbody>
                                        </table>
                                    </td>
                                </tr>
                                </if>
                            </tbody>
                            </table>
                        </foreach>
                            <div id="total_ana">
                            	 <h3>每日数据统计量</h3>
                            	<img height="150" width="400" src="http://chart.apis.google.com/chart?cht=lc&chs=400x150&chco=9601ac&chl=[$result.info.NumResponsesByDate.ResponseDates.0]|[$result.info.NumResponsesByDate.ResponseDates.1]&chly=[@rgetDataList($result.info.NumResponses,4,'|',1)]&chd=t:[@join(',',$result.info.NumResponsesByDate.ResponseCounters)]">
                            </div>
                        <div class="clear">
                        </div>
                        </div>
